package com.lonely.goods.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lonely.goods.domain.dto.material.QueryMaterialPageDTO;
import com.lonely.goods.domain.entity.SysMaterial;
import com.lonely.goods.domain.vo.material.page.MaterialPageQueryVO;
import org.apache.ibatis.annotations.Param;

/**
 * 物料信息 mapper
 *
 * @author fzzf
 */
public interface SysMaterialMapper extends BaseMapper<SysMaterial> {

    /**
     * 物料分页列表查询
     *
     * @param page
     * @param queryDto
     * @return
     */
    Page<MaterialPageQueryVO> page(Page<MaterialPageQueryVO> page, @Param("query") QueryMaterialPageDTO queryDto);

}
